home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD (UK) 1999 January
/
PC Plus Super CD No55a (PCP-147A-1-99) (Disc 1) (1998).iso
/
full
/
cbuilder
/
SAMS
/
SAMPLES
/
CHAP02
/
WHILETST.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1997-02-12
|
396 b
|
19 lines
#include <iostream.h>
#include <conio.h>
#pragma hdrstop
int main(int argv, char** argc)
{
cout << endl << "Starting program..." << endl << endl;
int i = 6;
while (i-- > 0) {
cout << endl << "Today I have " << i;
cout << " problems to worry about.";
}
cout << "\b!\nYipee!";
cout << endl << endl << "Press any key to continue...";
getch();
return 0;
}